package com.paic.mhis.hcpms.quota.calculationreport.kpiinterface.intergration.dao.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.paic.mhis.hcpms.quota.calculationreport.kpiinterface.dto.KpiConditionDTO;
import com.paic.mhis.hcpms.quota.calculationreport.kpiinterface.dto.KpiSociationDTO;
import com.paic.mhis.hcpms.quota.calculationreport.kpiinterface.intergration.dao.KpiSocDAO;
import com.paic.pafa.biz.dao.BaseDAO;

@Service("kpiSocDAO")
public class KpiSocDAOImpl extends BaseDAO implements KpiSocDAO {

	@Override
	public List<KpiSociationDTO> getKpiData(KpiConditionDTO condition) {
		// TODO Auto-generated method stub
		List<KpiSociationDTO> list = (List<KpiSociationDTO>) this._list("soc.querykpi", condition);
		return list;
	}

	
	@Override
	public Object getSingleKpiData(KpiConditionDTO condition) {
		// TODO Auto-generated method stub
		return this._queryForObject("soc.querySingleKpi", condition);
	}
}
